package tech.aistar.pojo;

import java.io.Serializable;

/**
 * @author success
 * @version 1.0
 * @description:本类用来演示:订单的明细
 * @date 2019/8/23 0023
 */
public class OrderDetail implements Serializable{
    private Integer id;

    private Integer ordersId;

    private Integer itemsId;

    private Integer itemsNum;

    public OrderDetail() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrdersId() {
        return ordersId;
    }

    public void setOrdersId(Integer ordersId) {
        this.ordersId = ordersId;
    }

    public Integer getItemsId() {
        return itemsId;
    }

    public void setItemsId(Integer itemsId) {
        this.itemsId = itemsId;
    }

    public Integer getItemsNum() {
        return itemsNum;
    }

    public void setItemsNum(Integer itemsNum) {
        this.itemsNum = itemsNum;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("OrderDetail{");
        sb.append("id=").append(id);
        sb.append(", ordersId=").append(ordersId);
        sb.append(", itemsId=").append(itemsId);
        sb.append(", itemsNum=").append(itemsNum);
        sb.append('}');
        return sb.toString();
    }
}
